<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>爬虫控制页面</title>
    <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
</head>
<body>
    爬取地址:<input type="text" id="place" /><br/>
    爬虫行业:<input type="text" id="sector" /><br/>
    <input type="button" value="进行爬取操作" onclick="get()">
</body>
<script>
    function get(){
        var place = $("#place").val();
        var sector = $("#sector").val();
        $.ajax({
            type:"get",
            url:"/zhilian/insert",
            data:{"place":place,"sector":sector},
            success(data){
            }
        })
    }
</script>
</html>
